package com.itjin.health.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("injury_reports")
public class InjuryReport implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 报告ID
   */
  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;

  /**
   * 用户ID
   */
  private Integer userId;

  /**
   * 伤病报告标题
   */
  private String title;

  /**
   * 身体部位
   */
  private String bodyPart;

  /**
   * 严重程度
   */
  private String severity;

  /**
   * 伤病描述
   */
  private String description;

  /**
   * 标签
   */
  private String tags;

  /**
   * 受伤时间
   */
  private LocalDateTime injuryTime;

  /**
   * 伤病图片1
   */
  private String injuryImage1;

  /**
   * 伤病图片2
   */
  private String injuryImage2;

  /**
   * 伤病图片3
   */
  private String injuryImage3;

  /**
   * 伤病图片4
   */
  private String injuryImage4;

  /**
   * 伤病图片5
   */
  private String injuryImage5;

  /**
   * 伤病图片6
   */
  private String injuryImage6;

  /**
   * 创建时间
   */
  @TableField(fill = FieldFill.INSERT)
  private LocalDateTime createdAt;

  /**
   * 更新时间
   */
  @TableField(fill = FieldFill.INSERT_UPDATE)
  private LocalDateTime updatedAt;

  /**
   * 状态
   */
  private String status;

  /**
   * 评估类型
   */
  @TableField("evaluation_type")
  private String evaluationType;

  /**
   * 伤病类型
   */
  private String injuryType;

  /**
   * 伤病部位
   */
  private String injuryLocation;

  /**
   * 诊断结果
   */
  private String diagnosisResult;

  /**
   * 治疗建议
   */
  private String treatmentSuggestion;

  /**
   * 诊断医生ID
   */
  private Integer diagnosisUserId;

  /**
   * 诊断时间
   */
  private LocalDateTime diagnosisTime;

  public void setDiagnosisResult(String diagnosisResult) {
    this.diagnosisResult = diagnosisResult;
  }

  public String getDiagnosisResult() {
    return this.diagnosisResult;
  }

  public void setTreatmentSuggestion(String treatmentSuggestion) {
    this.treatmentSuggestion = treatmentSuggestion;
  }

  public String getTreatmentSuggestion() {
    return this.treatmentSuggestion;
  }

  public void setDiagnosisUserId(Integer diagnosisUserId) {
    this.diagnosisUserId = diagnosisUserId;
  }

  public Integer getDiagnosisUserId() {
    return this.diagnosisUserId;
  }

  public void setDiagnosisTime(LocalDateTime diagnosisTime) {
    this.diagnosisTime = diagnosisTime;
  }

  public LocalDateTime getDiagnosisTime() {
    return this.diagnosisTime;
  }
}